<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>opennars: nars.inference.CompositionalRules Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">opennars
   &#160;<span id="projectnumber">1.5.5</span>
   </div>
   <div id="projectbrief">1.5-ish</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Classes</span></a></li>
      <li><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="../../classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="../../inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="../../functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d8/d79/classnars_1_1inference_1_1CompositionalRules.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pac-static-methods">Static Package Functions</a> &#124;
<a href="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="../../db/d50/classnars_1_1inference_1_1CompositionalRules-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">nars.inference.CompositionalRules Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Compound term composition and decomposition rules, with two premises.  
 <a href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="../../closed.png" alt="+"/> Collaboration diagram for nars.inference.CompositionalRules:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../df/d5b/classnars_1_1inference_1_1CompositionalRules__coll__graph.svg" width="202" height="191"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pac-static-methods"></a>
Static Package Functions</h2></td></tr>
<tr class="memitem:a53f7edf7bfe7433da42e8fcf36fd6604"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_a53f7edf7bfe7433da42e8fcf36fd6604.html#a53f7edf7bfe7433da42e8fcf36fd6604">composeCompound</a> (<a class="el" href="../../d1/d5e/classnars_1_1language_1_1Statement.html">Statement</a> taskContent, <a class="el" href="../../d1/d5e/classnars_1_1language_1_1Statement.html">Statement</a> beliefContent, int index, <a class="el" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> memory)</td></tr>
<tr class="memdesc:a53f7edf7bfe7433da42e8fcf36fd6604"><td class="mdescLeft">&#160;</td><td class="mdescRight">{&lt;S ==&gt; M&gt;,  <a href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_a53f7edf7bfe7433da42e8fcf36fd6604.html#a53f7edf7bfe7433da42e8fcf36fd6604">More...</a><br /></td></tr>
<tr class="separator:a53f7edf7bfe7433da42e8fcf36fd6604"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ce4b4caba57fe856aff6f6a2c7ee552"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_a6ce4b4caba57fe856aff6f6a2c7ee552.html#a6ce4b4caba57fe856aff6f6a2c7ee552">decomposeStatement</a> (<a class="el" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm.html">CompoundTerm</a> compound, <a class="el" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> component, boolean compoundTask, <a class="el" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> memory)</td></tr>
<tr class="memdesc:a6ce4b4caba57fe856aff6f6a2c7ee552"><td class="mdescLeft">&#160;</td><td class="mdescRight">{(||, S, P), P} |- S {(&amp;&amp;, S, P), P} |- S  <a href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_a6ce4b4caba57fe856aff6f6a2c7ee552.html#a6ce4b4caba57fe856aff6f6a2c7ee552">More...</a><br /></td></tr>
<tr class="separator:a6ce4b4caba57fe856aff6f6a2c7ee552"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7906cfca35e9c7568ace240aba808a0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_ae7906cfca35e9c7568ace240aba808a0.html#ae7906cfca35e9c7568ace240aba808a0">introVarInner</a> (<a class="el" href="../../d1/d5e/classnars_1_1language_1_1Statement.html">Statement</a> premise1, <a class="el" href="../../d1/d5e/classnars_1_1language_1_1Statement.html">Statement</a> premise2, <a class="el" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm.html">CompoundTerm</a> oldCompound, <a class="el" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> memory)</td></tr>
<tr class="memdesc:ae7906cfca35e9c7568ace240aba808a0"><td class="mdescLeft">&#160;</td><td class="mdescRight"><pre class="fragment">     Introduce a second independent variable into two terms with a common
</pre><p> component  <a href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_ae7906cfca35e9c7568ace240aba808a0.html#ae7906cfca35e9c7568ace240aba808a0">More...</a><br /></td></tr>
<tr class="separator:ae7906cfca35e9c7568ace240aba808a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr class="memitem:a06a7361732a36328f25d2b1de5825558"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_a06a7361732a36328f25d2b1de5825558.html#a06a7361732a36328f25d2b1de5825558">processComposed</a> (<a class="el" href="../../d1/d5e/classnars_1_1language_1_1Statement.html">Statement</a> statement, <a class="el" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> subject, <a class="el" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> predicate, <a class="el" href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">TruthValue</a> truth, <a class="el" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> memory)</td></tr>
<tr class="memdesc:a06a7361732a36328f25d2b1de5825558"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finish composing implication term.  <a href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_a06a7361732a36328f25d2b1de5825558.html#a06a7361732a36328f25d2b1de5825558">More...</a><br /></td></tr>
<tr class="separator:a06a7361732a36328f25d2b1de5825558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4479c479bb3ceeb78130e03ce5e3f293"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_a4479c479bb3ceeb78130e03ce5e3f293.html#a4479c479bb3ceeb78130e03ce5e3f293">decomposeCompound</a> (<a class="el" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm.html">CompoundTerm</a> compound, <a class="el" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> component, <a class="el" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> term1, int index, boolean compoundTask, <a class="el" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> memory)</td></tr>
<tr class="memdesc:a4479c479bb3ceeb78130e03ce5e3f293"><td class="mdescLeft">&#160;</td><td class="mdescRight">{&lt;(S|P) ==&gt; M&gt;,  <a href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_a4479c479bb3ceeb78130e03ce5e3f293.html#a4479c479bb3ceeb78130e03ce5e3f293">More...</a><br /></td></tr>
<tr class="separator:a4479c479bb3ceeb78130e03ce5e3f293"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e01a00f3a024ecdbd3949fefb803dae"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_a4e01a00f3a024ecdbd3949fefb803dae.html#a4e01a00f3a024ecdbd3949fefb803dae">introVarOuter</a> (<a class="el" href="../../d1/d5e/classnars_1_1language_1_1Statement.html">Statement</a> taskContent, <a class="el" href="../../d1/d5e/classnars_1_1language_1_1Statement.html">Statement</a> beliefContent, int index, <a class="el" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> memory)</td></tr>
<tr class="memdesc:a4e01a00f3a024ecdbd3949fefb803dae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Introduce a dependent variable in an outer-layer conjunction.  <a href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_a4e01a00f3a024ecdbd3949fefb803dae.html#a4e01a00f3a024ecdbd3949fefb803dae">More...</a><br /></td></tr>
<tr class="separator:a4e01a00f3a024ecdbd3949fefb803dae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7c0e5bc9c22ccb810b8a638dd0a93ab"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_aa7c0e5bc9c22ccb810b8a638dd0a93ab.html#aa7c0e5bc9c22ccb810b8a638dd0a93ab">secondCommonTerm</a> (<a class="el" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> term1, <a class="el" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> term2, int index)</td></tr>
<tr class="memdesc:aa7c0e5bc9c22ccb810b8a638dd0a93ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Introduce a second independent variable into two terms with a common component.  <a href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules_aa7c0e5bc9c22ccb810b8a638dd0a93ab.html#aa7c0e5bc9c22ccb810b8a638dd0a93ab">More...</a><br /></td></tr>
<tr class="separator:aa7c0e5bc9c22ccb810b8a638dd0a93ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Compound term composition and decomposition rules, with two premises. </p>
<p>Forward inference only, except the last group (dependent variable introduction) can also be used backward. </p>

<p>Definition at line <a class="el" href="../../d4/d15/CompositionalRules_8java_source.html#l00035">35</a> of file <a class="el" href="../../d4/d15/CompositionalRules_8java_source.html">CompositionalRules.java</a>.</p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>aruntime/src/main/java/nars/inference/<a class="el" href="../../d4/d15/CompositionalRules_8java_source.html">CompositionalRules.java</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d7/d81/namespacenars.html">nars</a></li><li class="navelem"><a class="el" href="../../d9/d79/namespacenars_1_1inference.html">inference</a></li><li class="navelem"><a class="el" href="../../d8/d79/classnars_1_1inference_1_1CompositionalRules.html">CompositionalRules</a></li>
    <li class="footer">Generated on Sun Jan 10 2016 18:03:59 for opennars by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
